Platform Explorer / Nuxeo Platform 11.4

Operation Context.RestoreDocumentInputFromScript (Restore input document from a script)

Description

Run a script and return the result Document object of the script the output of the operation
Operation id Context.RestoreDocumentInputFromScript
Category Execution Context
Label Restore input document from a script
Requires
Since

Parameters

Name Description Type Required Default value
script string yes  

Signature

Inputs void
Outputs document

Implementation Information

Implementation Class Class: org.nuxeo.ecm.automation.core.operations.RestoreDocumentInputFromScript
Contributing Component org.nuxeo.ecm.core.automation.coreContrib

JSON Definition

{
  "id" : "Context.RestoreDocumentInputFromScript",
  "label" : "Restore input document from a script",
  "category" : "Execution Context",
  "requires" : null,
  "description" : "Run a script and return the result Document object of the script the output of the operation",
  "url" : "Context.RestoreDocumentInputFromScript",
  "signature" : [ "void", "document" ],
  "params" : [ {
    "name" : "script",
    "description" : null,
    "type" : "string",
    "required" : true,
    "widget" : "TextArea",
    "order" : 0,
    "values" : [ ]
  } ]
}